]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
magnifier: Unset variable holding GSource ID
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 28 Jun 2021 12:17:25 +0000 (14:17 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 28 Jun 2021 17:54:07 +0000 (19:54 +0200)
Otherwise we try to remove the no longer existing GSource
later on.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1902>

js/ui/magnifier.js

index d818a75b0d189304e45a0cb76cc32924a4f4737e..22c11766b0741eda563d751f52d46e84147028e6 100644 (file)
@@ -1166,6 +1166,8 @@ var ZoomRegion = class ZoomRegion {
                 this._yDelayed = null;
             }
 
+            this._scrollContentsTimerId = 0;
+
             return GLib.SOURCE_REMOVE;
         });